home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
jazlib.arc
/
TABTOSP.C
< prev
next >
Wrap
Text File
|
1988-12-18
|
288b
|
19 lines
char *tabtosp(fsource,fdestin)
char *fsource,*fdestin;
{
int w;
w = 0;
while (*fsource) {
if (*fsource == 9)
do
fdestin[w] = ' ';
while (++w % 8);
else
fdestin[w++] = *fsource;
fsource++;
}
fdestin[w] = 0;
return(fdestin);
}